package com.smart.sms.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * LTAI5tK9Hd9PJeLLwwioP7xF
 * rPFisRtL8hVyyVACGdyMCl5ceUJyNk
 */
@Component
@ConfigurationProperties("sms.ali")
@Data
public class AliSmsConfigProperties {
    private String accessKeyId;
    private String accessKeySecret;
    private String endpoint = "dysmsapi.aliyuncs.com";
    private String signName;
    private String templateCode;
    private Boolean autoRetry;
    private Integer readTimeout = 1000;
    private Integer connectTimeout = 2000;

}
